#ifndef EDITORPAGE_H
#define EDITORPAGE_H

#include <QWidget>
#include "AbstractSettingsPage.h"
#include "CodeEditor/Settings/TabSettings.h"
#include "CodeEditor/Settings/DisplaySettings.h"
#include "CodeEditor/Settings/FontSettings.h"
#include "CodeEditor/Settings/StorageSettings.h"

QT_BEGIN_NAMESPACE
class QSettings;
QT_END_NAMESPACE

namespace Ui {
    class EditorSettingsPage;
}

class EditorSettingsPage : public AbstractSettingsPage
{
    Q_OBJECT

public:
    EditorSettingsPage(QWidget* parent = 0);
    virtual ~EditorSettingsPage();

public:
    virtual void load();
    virtual void save();

protected:
    void changeEvent(QEvent*);

private:
    Ui::EditorSettingsPage* ui;

    CodeEdit::TabSettings _tabSettings;
    CodeEdit::DisplaySettings _displaySettings;
    CodeEdit::FontSettings _fontSettings;
    CodeEdit::StorageSettings _storageSettings;

private slots:
    void changeColor();
};

#endif // EDITORPAGE_H
